
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-fangsheweishengfuzhi"></i>
                    <div class="name">放射卫生_复制</div>
                    <div class="fontclass">.icon-fangsheweishengfuzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuju"></i>
                    <div class="name">数据开关</div>
                    <div class="fontclass">.icon-shuju</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingweixuanzhong1"></i>
                    <div class="name">方形未选中</div>
                    <div class="fontclass">.icon-fangxingweixuanzhong1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingxuanzhongfill"></i>
                    <div class="name">方形选中-fill</div>
                    <div class="fontclass">.icon-fangxingxuanzhongfill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingxuanzhong1"></i>
                    <div class="name">方形选中</div>
                    <div class="fontclass">.icon-fangxingxuanzhong1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xuanze"></i>
                    <div class="name">选择</div>
                    <div class="fontclass">.icon-xuanze</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuanxingxuanzhongfill"></i>
                    <div class="name">圆形选中-fill</div>
                    <div class="fontclass">.icon-yuanxingxuanzhongfill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuanxingxuanzhong"></i>
                    <div class="name">圆形选中</div>
                    <div class="fontclass">.icon-yuanxingxuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wxbsousuotuiguang"></i>
                    <div class="name">wxb搜索推广</div>
                    <div class="fontclass">.icon-wxbsousuotuiguang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caidan"></i>
                    <div class="name">菜单</div>
                    <div class="fontclass">.icon-caidan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-1301"></i>
                    <div class="name">圆形小颗粒</div>
                    <div class="fontclass">.icon-1301</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuanglieliebiao"></i>
                    <div class="name">双列列表</div>
                    <div class="fontclass">.icon-shuanglieliebiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huaxue"></i>
                    <div class="name">化学</div>
                    <div class="fontclass">.icon-huaxue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanyezhaoxianormal"></i>
                    <div class="name">down</div>
                    <div class="fontclass">.icon-fanyezhaoxianormal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanyezhaoyoudisabled"></i>
                    <div class="name">right</div>
                    <div class="fontclass">.icon-fanyezhaoyoudisabled</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanyezhaozuodisabled"></i>
                    <div class="name">left</div>
                    <div class="fontclass">.icon-fanyezhaozuodisabled</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanyeshouyedisabled"></i>
                    <div class="name">firstPage</div>
                    <div class="fontclass">.icon-fanyeshouyedisabled</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanyeweiyedisabled"></i>
                    <div class="name">lastPage</div>
                    <div class="fontclass">.icon-fanyeweiyedisabled</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">back</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanliyuan"></i>
                    <div class="name">manager</div>
                    <div class="fontclass">.icon-guanliyuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jishuzhichi"></i>
                    <div class="name">support</div>
                    <div class="fontclass">.icon-jishuzhichi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shejishi"></i>
                    <div class="name">designer</div>
                    <div class="fontclass">.icon-shejishi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wodecailiaokunormal"></i>
                    <div class="name">material</div>
                    <div class="fontclass">.icon-wodecailiaokunormal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wodeshoucangselected"></i>
                    <div class="name">star</div>
                    <div class="fontclass">.icon-wodeshoucangselected</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wodexiangmunormal"></i>
                    <div class="name">myProject</div>
                    <div class="fontclass">.icon-wodexiangmunormal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xialajiantou"></i>
                    <div class="name">xiala</div>
                    <div class="fontclass">.icon-xialajiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangmujingli"></i>
                    <div class="name">workManager</div>
                    <div class="fontclass">.icon-xiangmujingli</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhanneixin"></i>
                    <div class="name">mail</div>
                    <div class="fontclass">.icon-zhanneixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingweixuanzhong"></i>
                    <div class="name">方形未选中</div>
                    <div class="fontclass">.icon-fangxingweixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingxuanzhong"></i>
                    <div class="name">方形选中</div>
                    <div class="fontclass">.icon-fangxingxuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingxuanzhong-fill"></i>
                    <div class="name">方形选中-fill</div>
                    <div class="fontclass">.icon-fangxingxuanzhong-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liebiaoxingshi"></i>
                    <div class="name">列表形式</div>
                    <div class="fontclass">.icon-liebiaoxingshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuanxingweixuanzhong"></i>
                    <div class="name">圆形未选中</div>
                    <div class="fontclass">.icon-yuanxingweixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yuanxingxuanzhong-fill"></i>
                    <div class="name">圆形选中-fill</div>
                    <div class="fontclass">.icon-yuanxingxuanzhong-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qiapianxingshi"></i>
                    <div class="name">卡片形式</div>
                    <div class="fontclass">.icon-qiapianxingshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangxingxuanzhongfill-copy"></i>
                    <div class="name">方形选中-fill</div>
                    <div class="fontclass">.icon-fangxingxuanzhongfill-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liangdu"></i>
                    <div class="name">亮度</div>
                    <div class="fontclass">.icon-liangdu</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
